package com.peanut.bosskg.entity.separate;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @param
 * @author LMH
 * @return
 * @description
 * @createby 2022-06-11 13:46
 */
@Data
public class RechargeResultVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**服务商ID*/
    @ApiModelProperty(value = "服务商ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long providerId;

    @ApiModelProperty(value = "商户订单号")
    @JsonSerialize(using= ToStringSerializer.class)
    private String enterpriseOrderNo;

    @ApiModelProperty(value = "订单流水号")
    @JsonSerialize(using= ToStringSerializer.class)
    private String orderNo;

    @ApiModelProperty(value = "充值金额 单位（分）")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long rechargeAmt;

    @ApiModelProperty(value = "充值手续费金额 单位（分）")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long feeAmt;

    @ApiModelProperty(value = "实际到账金额 单位（分）")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long accountingAmt;

    @ApiModelProperty(value = "充值状态 RechargeStateEnum")
    @JsonSerialize(using= ToStringSerializer.class)
    private String rechargeState;

    @ApiModelProperty(value = "创建时间")
    @JsonSerialize(using= ToStringSerializer.class)
    private String createTime;

    @ApiModelProperty(value = "完成时间")
    @JsonSerialize(using= ToStringSerializer.class)
    private String updateTime;

    @ApiModelProperty(value = "错误信息")
    @JsonSerialize(using= ToStringSerializer.class)
    private String errMsg;
}
